package com.ob.web.core.config.properties;

import lombok.Data;

@Data
public class Os {
    private String type;
    private Alibaba alibaba;
    private Tencent tencent;
    private Qiniu qiniu;

    /** 阿里云 */
    @Data
    public static class Alibaba {
        private static final String ENDPOINT          = "https://oss-cn-hangzhou-internal.aliyuncs.com";
        private static final String ACCESS_KEY_ID     = "LTAI4GHzS9Y3U8UomL22saNr";
        private static final String ACCESS_KEY_SECRET = "ljnef7z4zp8BNNixU1d6yq49Swvv7h";
        private static final String BUCKET_NAME       = "wyf-bkt";
        private static final String FILE_PATH         = "bjstk/work/";
        private static final String DOMAIN            = "https://wyf-bkt.oss-cn-hangzhou.aliyuncs.com/";
    }

    /** 腾讯云 */
    @Data
    public static class Tencent {
        private static final String REGION       = "ap-shanghai";
        private static final String SECRET_ID    = "AKIDUkrjWwCfdgU1KLwlZ8PQAeqnTFl45tSl";
        private static final String SECRET_KEY   = "4pb7OOcbMp18yYs57tOq34oIVJuEGsEK";
        private static final String BUCKET_NAME  = "test-bkt-1302327821";
        private static final String FILE_PATH    = "123/";
        private static final String DOMAIN       = "https://test-bkt-1302327821.cos.ap-shanghai.myqcloud.com/";

    }

    /** 七牛云 */
    @Data
    public static class Qiniu {
        private String ak;
        private String sk;
        private String bucketName;
        private String address;
    }

}
